<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<link href="css/add.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="js/jquery-3.3.1.js"></script>
<script type="text/javascript" src="js/add.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>增加联系人</title>
</head>
<body>
<div class="header">
    <h1 class="logo"><a href="#">通讯录</a></h1>
    <ul class="register">
        <li>当前用户</li>
        <li>${username}</li>
        <li><a href="${pageContext.request.contextPath}/LoginoutAction.action">退出</a></li>
    </ul>
</div>
<div class="content">
    <div class="content_form">
    <form action="${pageContext.request.contextPath}/EditOneSubmit.action" method="post" class="form1" enctype="multipart/form-data">
        <table>
        	<tr>
                <td></td>
                <td><input type="hidden" name="id" value="${al.id}" ></td>
            </tr>
            <tr>
                <td>姓名：</td>
                <td><input type="text" name="name" value="${al.name}" class="name"></td>
            </tr>
            <tr>
                <td>手机：</td>
                <td><input type="text" name="phone" value="${al.phone}" class="phone"></td>
            </tr>
            <tr>
                <td>照片：</td>
                <td><input type="file" name="upload" value="${al.image }" class="upload"></td>
            </tr>
            <tr>
                <td>公司：</td>
                <td><input type="text" name="company" value="${al.company }" class="company"></td>
            </tr>
            <tr>
                <td>邮箱：</td>
                <td><input type="email" name="e_mail" value="${al.e_mail }" class="e_mail"></td>
            </tr>
            <tr>
                <td>地址：</td>
                <td><input type="text" name="address" value="${al.address }" class="address"></td>
            </tr>
            <tr>
                <td>关系：</td>
                <td><input type="text" name="relation" value="${al.relation }" class="relation"></td>
            </tr>
            <tr>
                <td>
                    <input type="button" value="提交" class="input_submit">
                </td>
            </tr>
        </table>
    </form>
    </div>
</div>
<div class="mask_bg"></div>
<div class="mask"></div>
</body>
</html>